package ai.rpc.core.registry;

/**
 * @Author: mengyu
 * @Date: 2024/7/26
 * 注册中心工厂类
 */
public class RegistryFactory {
    private static final Registry DEFAULT_REGISTRY = new EtcdRegistry();

    public static Registry getInstance(String key){
        // TODO 使用SPI进行扩展
        return DEFAULT_REGISTRY;
    }
}
